<?php
/**
 * Short Description  
 *
 * Long Description 
 *
 * @category   
 * @package    
 * @subpackage 
 * @copyright 
 * @author     Sandeep Manne<sandeep.manne@costrategix.com>
 */

require_once "default/controllers/CoreController.php";

class Auth_IndexController extends CoreController
{
	public function indexAction()
	{
		/*@var $user User */
		//$user = App::getModel("accounts", "user");
		//App::getModuleConfig("auth");
		/* @var $loginForm Core_Form */
		$loginForm = App::getForm("auth", "login", null, false);	
		if ($this->getRequest()->isPost() && $loginForm->isValid($this->getRequest()->getParams()))
		{
			var_dump($this->_helper->getFilteredParams());
		}
		echo $loginForm;	 
	}
}